package com.jinkaimen.kqb.constant;

import com.ht.baselibs.application.HTApplication;

public class HttpConfig {
    //    public static final String BASE_DEV_HOST = "http://192.168.1.186:8083/";
//  public static final String BASE_DEV_HOST = "http://192.168.1.146:8081/";
    public static final String BASE_DEV_HOST = "http://192.168.1.20:8082/";
    //    public static final String BASE_DEV_HOST = "http://192.168.1.130:8080/";
//    public static final String BASE_DEV_HOST = "http://192.168.1.171:8290/";
//    public static final String BASE_DEV_HOST = "http://192.168.1.249:8295/";//玉龙
    public static final String BASE_HOST = "http://hss.qianbaojiajia.com/";
    //    public static final String BASE_HOST = "http://hsy.qianbaojiajia.com/";
    public static String BASE_URL = null;

    static {
        if (HTApplication.IS_DEBUG_MODE) {
            BASE_URL = BASE_DEV_HOST;
        } else {
            BASE_URL = BASE_HOST;
        }
    }

    public static final class Path {
        public static final String REST = "active/rest";
        public static final String REST_FILE = "active/file";
    }

    public static final class ResultCode {
        public static final int SUCCCESS = 2000;
        public static final int EMPTY = 1000;
        public static final int ERROR = 1001;
    }

    public static final class GlobalParam {
        public static final String ACCESS_TOKEN = "accessToken";
        public static final String TIME_STAMP = "timeStamp";
        public static final String V = "v";
        public static final String APP_TYPE = "appType";
        public static final String DEVICE_ID = "deviceId";
    }

}